On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sun, 14 Aug 2022 16:55:39 +0000 (17:55 +0100)
committerAurélien COUDERC <coucouf@debian.org>
Sun, 14 Aug 2022 16:55:39 +0000 (17:55 +0100)
commit921f4f0e526757b223bb6178d3f937add4682265
treeb5b880485ab2b2513eed1359b147373f5fd40c9c
parentf283e63c2d4e2d5e5c7bb6b0e68a0c9ac3a2c93f
On Hurd, do not look for functions unimplemented in libc

Last-Update: 2022-02-22
Forwarded: not-needed

The check_function_exists() function of cmake does not keep into account the
defines that glibc provides for the stubs (i.e. unimplemented functions that
always return ENOSYS), so some functions are detected as available.
Unfortunately, due to --fatal-warnings for the linker, linking will fail.
Hence, do not attempt to look for functions that are currently unimplemented
on GNU/Hurd's libc.

Gbp-Pq: Name hurd_disable_unimplemented.diff
src/ioslaves/file/ConfigureChecks.cmake